package base.exa18;

import java.util.Calendar;

/**
 * 关于日期API的学习还是建议到
 * java动手做一做/src/main/DateTimeApi学习
 */
public class CalendarStudy {

    public static void main(String[] args) {
        Calendar calendar = Calendar.getInstance();
        calendar.set(2018,5,21,12,22,34);
        System.out.println(calendar.getTime());
        System.out.println(calendar.getTimeInMillis());
        System.out.println(calendar.getTime().getTime());
    }



}
